package base.standard.constant.message;

/**
 * Message face
 *
 * @description:
 * @author: cyj
 * @date 2020 -10-19 18:46:57
 */
public class MessageFace {

    private MessageCode messageCode;

    private StatusCode statusCode;

    /**
     * Message
     */
    public String message;

    /**
     * Message face
     *
     * @param messageCode message code
     * @param statusCode  status code
     */
    public MessageFace(MessageCode messageCode, StatusCode statusCode) {
        this.messageCode = messageCode;
        this.statusCode = statusCode;
        this.message = messageCode.message + statusCode.message;
    }
}
